package com.walleipt.ipt_tools.utils.gson;

public class JsonException extends Exception {

	private static final long serialVersionUID = 1L;

	Result err = new Result();

	public JsonException(String msg) {
		err.setCode(-1);
		err.setMsg(msg);
	}

	public Result getErrorInfo() {
		return err;
	}

	public void setErrorInfo(Result errorInfo) {
		this.err = errorInfo;
	}

}
